window.addEventListener('load',function(){
	// alert(1);
	var list  = document.querySelector(".list li:nth-child(2)");
	var nav = document.querySelector(".fr .nav");
	list.onmousemove = function(){
		nav.style.display = "block";
	}
	nav.onmouseleave = function(){
		nav.style.display = "none";
	}
	
	// 点击事件
	$('.fl .gezi').click(function(){
		$('.daohang').css('display','block');
		$('.beijing').css('display','block');
	})
	$('.daohang ul li:nth-child(1)').click(function(){
		$('.daohang').css('display','none');
		$('.beijing').css('display','none');
	})
	
	// 轮播图
	var test = new Swiper('.lubbo .swiper-test',{
		loop:true,
		autoplay: true, 
		autoplay: {
			delay: 5000,
		},
		pagination: { // 分页器
		    el: '.lubbo .swiper-test .swiper-pagination',
			clickable: true,
		},
		
	})
	
	
	
	
	
	
	
})